package main

import (
	"io"
	"bufio"
	"fmt"
	"gxgeek.com/gxgeek/learngo/lang/functionalional/fib"
)

func main() {
	f := fib.Fibonacci();

	printFileContents(f)
}

func printFileContents(read io.Reader)  {
	scanner := bufio.NewScanner(read)
	for scanner.Scan()  {
		fmt.Println(scanner.Text())
	}

}



